﻿
namespace Trial
{
    interface IAnimal
    {
        string Die();
    }

    abstract class Animal : IAnimal
    {
        public Animal()
        {
        }

        public virtual string Die()
        {
            return "Animal Died";
        }
    }

    abstract class Bird : Animal
    {
        public Bird() { }

        public override string Die()
        {
            return "Bird Died";
        }
    }

    sealed class Eagle : Bird
    {
        public Eagle() { }

        public new string Die()
        {
            return "Eagle Died";
        }
    }
}
